home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / SUPERPD.PAK / SPADMAC.R < prev    next >
Text File  |  1997-05-06  |  4KB  |  191 lines

  1. #include    "resource.h"
  2.  
  3. /////////////////////////////////////////////////////////////////////////
  4. // WLM resources
  5.  
  6. #include        "ftab.r"
  7. #include        "mrc\types.r"
  8. #include        "mrc\balloons.r"
  9. #include        "systypes.r"
  10.  
  11.  
  12. /////////////////////////////////////////////////////////////////////////
  13. // MFC resources
  14.  
  15. #include    "afxaete.r"
  16.  
  17.  
  18. /////////////////////////////////////////////////////////////////////////
  19. // Code Fragment resources
  20.  
  21. #include    "CodeFrag.r"
  22.  
  23.  
  24. /////////////////////////////////////////////////////////////////////////
  25. // spadmac.r Macintosh specific resources
  26.  
  27. resource 'SIZE' (-1)
  28. {
  29.     reserved,
  30.     acceptSuspendResumeEvents,
  31.     reserved,
  32.     canBackground,
  33.     doesActivateOnFGSwitch,
  34.     backgroundAndForeground,
  35.     dontGetFrontClicks,
  36.     ignoreAppDiedEvents,
  37.     is32BitCompatible,
  38.     isHighLevelEventAware,
  39.     localAndRemoteHLEvents,
  40.     isStationeryAware,
  41.     useTextEditServices,
  42.     reserved,
  43.     reserved,
  44.     reserved,
  45. #ifdef _MPPC_
  46.     3000 * 1024,
  47.     3000 * 1024
  48. #else   // 68K Mac
  49. #ifdef _DEBUG
  50.     3000 * 1024,
  51.     3000 * 1024
  52. #else
  53.     2000 * 1024,
  54.     2000 * 1024
  55. #endif
  56. #endif
  57. };
  58.  
  59. resource 'vers' (2)
  60. {
  61.     0x04,
  62.     0x00,
  63.     final,
  64.     0x00,
  65.     verUS,
  66.     "4.0",
  67.     "MFC for Macintosh 4.0"
  68. };
  69.  
  70. resource 'BNDL' (128, purgeable)    // superpad bundle resource ID
  71. {
  72.     'SPAD',                 // superpad signature
  73.     0,                      // resource ID of signature resource:
  74.                             // should be 0
  75.     {
  76.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  77.         {
  78.             0, IDR_MAINFRAME,
  79.             1, IDR_TEXTTYPE_INPLACE,
  80.             2, 130
  81.         },
  82.         'FREF',             // local resource IDs for 'FREF's
  83.         {
  84.             0, 128,
  85.             1, 129,
  86.             2, 130
  87.         }
  88.     }
  89. };
  90.  
  91. resource 'FREF' (128, purgeable)    // superpad application
  92. {
  93.     'APPL', 0,
  94.     ""
  95. };
  96.  
  97. resource 'FREF' (129, purgeable)    // superpad document
  98. {
  99.     'SPAD', 1,
  100.     ""
  101. };
  102.  
  103. resource 'FREF' (130, purgeable)    // superpad document
  104. {
  105.     'sPAD', 2,
  106.     ""
  107. };
  108.  
  109. type 'SPAD' as 'STR ';
  110.  
  111. resource 'SPAD' (0, purgeable)
  112. {
  113.     "SuperPad Application"
  114. };
  115.  
  116. /* Balloon help resources */
  117.  
  118. resource 'hfdr' (-5696)
  119. {
  120.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  121.     {
  122.         HMSTRResItem {500}
  123.     }
  124. };
  125.  
  126. resource 'hovr' (1000)
  127. {
  128.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  129.  
  130.     HMStringItem    /* missing items override */
  131.     {
  132.         "Miscellaneous part of the Microsoft SuperPad"
  133.         "Sample Application."
  134.     },
  135.     {
  136.         HMSkipItem {},  /* title bar */
  137.         HMSkipItem {},  /* reserved. always skip item here */
  138.         HMStringItem    /* close box */
  139.         {
  140.         "Click here to close the Microsoft SuperPad"
  141.         "Sample Application."
  142.         },
  143.         HMStringItem    /* zoom box */
  144.             {
  145.         "Click here to Zoom In or Zoom Out."
  146.             },
  147.         HMSkipItem {},  /* active app's inactive window */
  148.         HMStringItem    /* inactive app's window */
  149.         {
  150.         "This is not part of the Microsoft SuperPad"
  151.         "Application. It may be part of the Apple "
  152.         "Finder, or some other application."
  153.         },
  154.         HMSkipItem {}   /* outside modal dialog */
  155.     }
  156. };
  157.  
  158. #ifdef _MPPC_
  159. resource 'STR ' (500)
  160. {
  161.     "This is the Win32 SuperPad sample application "
  162.     "ported to the Power Macintosh using Microsoft VC++ "
  163.     "Edition for the Apple Power Macintosh"
  164. };
  165. #else   // 68K Mac
  166. resource 'STR ' (500)
  167. {
  168.     "This is the Win32 SuperPad sample application "
  169.     "ported to the Macintosh using Microsoft VC++ Edition "
  170.     "for the Apple Macintosh"
  171. };
  172. #endif
  173.  
  174. #ifdef _MPPC_
  175. resource 'cfrg' (0) {
  176.   {
  177.         kPowerPC,
  178.         kFullLib,
  179.         kNoVersionNum,
  180.         kNoVersionNum,
  181.         kDefaultStackSize,
  182.         kNoAppSubFolder,
  183.         kIsApp,
  184.         kOnDiskFlat,
  185.         kZeroOffset,
  186.         kWholeFork,
  187.         "superpad"
  188.   }
  189. };
  190. #endif
  191.